ASP.NET MVC Controls | ComponentOne
C1.Web.Mvc.Fluent Namespace / ITemplateBuilder<T> Interface / TemplateBind Method
The specified property name.
The specified item name in DataContext.

In This Topic
    TemplateBind Method
    In This Topic
    When the builder works in template mode, bind the property which name is specified to some item which name is specified.
    Syntax
    'Declaration
     
    
    Function TemplateBind( _
       ByVal propertyName As String, _
       ByVal boundName As String _
    ) As T
    T TemplateBind( 
       string propertyName,
       string boundName
    )

    Parameters

    propertyName
    The specified property name.
    boundName
    The specified item name in DataContext.

    Return Value

    Current builder.
    Remarks
    It only works in template mode.
    See Also